Sets our main struct and passes it to the parent class.
Creates a new AdwExpanderRow.
Adds an action widget to @self.
Adds a prefix widget to @self.
Adds a widget to @self.
Gets whether the expansion of @self is enabled.
Gets whether @self is expanded.
Get the main Gtk struct
Gets the icon name for @self.
Gets whether the switch enabling the expansion of @self is visible.
the main Gtk struct as a void*
Gets the subtitle for @self.
Sets whether the expansion of @self is enabled.
Sets whether @self is expanded.
Sets the icon name for @self.
Sets whether the switch enabling the expansion of @self is visible.
Sets the subtitle for @self.
the main Gtk struct
the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
Gets the title of the preference represented by @self.
Gets whether the user can copy the title from the label
Gets whether an embedded underline in the title indicates a mnemonic.
Sets the title of the preference represented by @self.
Sets whether the user can copy the title from the label
Sets whether an embedded underline in the title indicates a mnemonic.
A [class@Gtk.ListBoxRow] used to reveal widgets.
<picture> <source srcset="expander-row-dark.png" media="(prefers-color-scheme: dark)"> <img src="expander-row.png" alt="expander-row"> </picture>
The AdwExpanderRow widget allows the user to reveal or hide widgets below it. It also allows the user to enable the expansion of the row, allowing to disable all that the row contains.
AdwExpanderRow as GtkBuildable
The AdwExpanderRow implementation of the [iface@Gtk.Buildable] interface supports adding a child as an action widget by specifying “action” as the “type” attribute of a <child> element.
It also supports adding it as a prefix widget by specifying “prefix” as the “type” attribute of a <child> element.
CSS nodes
AdwExpanderRow has a main CSS node with name row and the .expander style class. It has the .empty style class when it contains no children.
It contains the subnodes row.header for its main embedded row, list.nested for the list it can expand, and image.expander-row-arrow for its arrow.